package chap4.Task;
public class Task11 {
    public static void main(String[] args) {
        int i = 1;
        int a=1;
        System.out.println("能被9整除的数为:");
        while (i <= 10000) {
            if(i%9==0){
                a++;
                System.out.print(" "+i);
                if (a%20==0){
                    System.out.println();
                }
            }
            i++;

        }
    }

}
